package com.inter.entity.pojo.request.RequestBody;
import lombok.Getter;
import lombok.Setter;

import javax.xml.bind.annotation.XmlAccessOrder;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorOrder;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
/**
 * Demo class
 *
 * @author lm
 * @date 2018/8/13
 */
@Setter
@Getter
@XmlAccessorOrder(XmlAccessOrder.ALPHABETICAL)
@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "body")
public class QueryOrderRequestBody{
	//从第几页开始显示

	@XmlElement(name = "page_no")
	private String pageNo="1";

	//每页显示多少个
	@XmlElement(name = "page_size")
	private String pageSize = "200";

	@XmlElement(name = "order_type" , required=false)
	private String orderType;

	@XmlElement(name = "device_id", required=true)
	private String deviceId ;

	@XmlElement(name = "device_type", required=true)
	private String deviceType;


	@XmlElement(name = "order_id", required=false)
	private String orderId;

	@XmlElement(name = "order_status", required=false)
	private String orderStatus;

}
